package com.hui.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hui.reggie.entity.Orders;
import org.springframework.transaction.annotation.Transactional;

/**
 * 订单表(Orders)表服务接口
 *
 * @author hui
 * @since 2022-08-31 09:55:50
 */
public interface OrdersService extends IService<Orders> {

    /**
     * 用户下单
     *
     * @param orders
     */
    @Transactional
    void submit(Orders orders);
}

